<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

/**
 * 子账号表
 * @ author: zuorenci
 * @ email: 904725327@qq.com
 * @ date: 2017/10/24 21:01
 */
class Administrator extends Model
{

    protected $table = 'administrator';

    public $timestamps = false;

    protected $primaryKey = 'administrator_id';

    protected $fillable = [
        'administrator_id', // int(11) NOT NULL AUTO_INCREMENT,
        'account', // varchar(255) NOT NULL,
        'password', // varchar(255) NOT NULL,
        'shop_id', // int(11) NOT NULL,
        'tel', // varchar(255) NOT NULL,
        'create_time', // char(255) NOT NULL,
        'user_id', // int(11) NOT NULL,
        'token', // varchar(255) NOT NULL,
        'last_login_time', // char(255) NOT NULL,
        'img', // varchar(255) NOT NULL COMMENT '管理员头像',
        'img_oss',
    ];
}
